package com.cjyd.hrjb.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created fei wo by 2020/4/6
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "admin")
public class AdminConfig {

    @Value("salt")
    private String salt;

    @Value("jwt-secret")
    private String jwtSecret;

    @Value("jwt-issuer")
    private String jwtIssuer;
}
